package org.jeecg.modules.scm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.scm.dto.PageSearchOfChainDto;
import org.jeecg.modules.scm.entity.ScmSupplyChain;
import org.jeecg.modules.scm.vo.CusChainInfoVo;
import org.jeecg.modules.scm.vo.SupplyChainVo;

import java.util.List;

/**
 * @Description: 供应链关联关系表mapper
 * @Author: jeecg-boot
 * @Date: 2021-10-28
 * @Version: V1.0
 */
public interface ScmSupplyChainMapper extends BaseMapper<ScmSupplyChain> {

    /**
     * 获取项目ID获取供应链关联关系的列表信息
     *
     * @param itemId 项目ID
     * @return
     */
    List<CusChainInfoVo> getCusChainInfo(@Param("itemId") Integer itemId);
    List<SupplyChainVo> pageSearch(PageSearchOfChainDto pageSearchOfChainDto);
}
